FROM python:3.10.14-slim

ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1

WORKDIR /app


COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt


COPY ./fnsa-news-manager/ /app/


ENTRYPOINT ["python"]
CMD ["app.py"]
